<div class="wrap">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="54px" height="43px" class="fr_lefttop"></td>
	<td height="43px" class="fr_centertop" ></td>
	<td width="48px" height="43px" class="fr_righttop"></td>
	</tr>
	<tr>
	<td width="54px" class="fr_leftmiddle" >&nbsp;</td>
	<td class="fr_centermiddle">
{if $smarty.cookies.message == null}
	<div id="ajaxResponse1" class="ajaxResponse"></div>
{else}
	<div id="ajaxResponse1" class="ajaxResponse fade" style="display:block">{if $smarty.cookies.message != NULL}{$smarty.cookies.message}{/if}</div>
{/if} 
<h2>{t}Edit Partner{/t}</h2>
<form name="editpartner" id="editpartner" enctype="multipart/form-data" method="post" >
	<input type="hidden" name="act" value="editpartner"/>
	<input type="hidden" name="partner_id" value="{$PARTNER->partner_id}">
	<table class="editform" width="100%" cellspacing="2" cellpadding="5">
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="partner_name">{t}Name:{/t}</label></th>
			<td width="67%">
			<input name="partner_name" id="partner_name" type="text" value="{$PARTNER->partner_name}" size="50" maxlength="100" /></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="partner_status">{t}Status:{/t}</label></th>
			<td width="67%">
			{if $PARTNER->partner_status=='active'}
				{assign var="activesel" value="selected"}
			{else}
				{assign var="inactivesel" value="selected"}
			{/if}
			<select name="partner_status">
				<option {$activesel} value='active'>Active</option>
				<option {$inactivesel} value='inactive'>Inactive</option>
			</select>
		</tr>
		<tr>
			<th width="33%" valign="middle">
			{t}Image:{/t} :</th>
			<td width="67%">
			<input type="file" name="partner_image" />
            </td>
		</tr>
        <tr>
			<th width="33%" scope="row" valign="middle">
			</th>
			<td width="67%">
            <img src="{$PATH}{$PARTNER->partner_image}" />
            </td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="partner_url">{t}URL:{/t}</label></th>
			<td width="67%">
			<input name="partner_url" id="partner_url" type="text" value="{$PARTNER->partner_url}" size="50" maxlength="100" /></td>
		</tr>
	</table>
	<p class="submit" align = "right">
		<input type="submit" name="submit" value="{t escape=no}Edit Partner &raquo;{/t}" />
	</p>
</form>
</td>
	<td width="48px" class="fr_rightmiddle"></td>
	</tr>
	<tr>
	<td width="54px" height="60px" class="fr_leftbot" ></td>
	<td height="60px" class="fr_centerbot"></td>
	<td width="48px" height="60px" class="fr_rightbot" ></td>
	</tr>
</table>
</div>